<?php
	$mail->IsSMTP(); // telling the class to use SMTP
	//$mail->Host       = "mail.yourdomain.com"; // SMTP server
	//$mail->SMTPDebug  = 2;                     // enables SMTP debug information (for testing)
											   // 1 = errors and messages
											   // 2 = messages only
	$mail->SMTPAuth   = true;                  // enable SMTP authentication
	$mail->SMTPSecure = "ssl";                 // sets the prefix to the servier
	$mail->Host       = "smtp.gmail.com";      // sets GMAIL as the SMTP server
	$mail->Port       = 465;                   // set the SMTP port for the GMAIL server
	$mail->Username   = "ctylerpubs@gmail.com";  // GMAIL username
	$mail->Password   = "chrispass";            // GMAIL password

	$mail->SetFrom('chris@myowndomain.com', 'First Last');

	$mail->AddReplyTo("name@yourdomain.com","First Last");

	$mail->Subject    = "Password Reset for" . REG_SITE_NAME;

	$mail->AltBody    = "To view the message, please use an HTML compatible email viewer!"; // optional, comment out and test

	$mail->MsgHTML($body);

	$address = "crwtyler@gmail.com";
	$mail->AddAddress($address, "Chris Tyler");

	//$mail->AddAttachment("images/phpmailer.gif");      // attachment
	//$mail->AddAttachment("images/phpmailer_mini.gif"); // attachment

?>